#define _CRT_SECURE_NO_WARNINGS
#include "Dlist.h"

void TestDlist1()
{
	Dlist* plist = InitDlist();
	DlistPushBack(plist, 1);
	DlistPushBack(plist, 2);
	DlistPushBack(plist, 3);
	DlistPrint(plist);
	Dlist_Insert(plist, 2, 10);
	DlistPrint(plist);
	Dlist_Del(plist, 10);
	DlistPrint(plist);
	Dlist_Del(plist, 3);
	DlistPrint(plist);
	Dlist_Del(plist, 3);

}

int main()
{
	TestDlist1();
	return 0;
}